/*
 * Diego Zamboni Latance 			344990
 * Fellipe Augusto Ruiz de Souza 	344796
 * 
 */
package ast;

public class MessageSendStaticVariable extends MessageSend {

	public void genC(PW pw, boolean putParenthesis) {
	}

	public void genKrakatoa(PW pw, boolean putParenthesis) {
		pw.print(classDec.getKrakatoaName() + "." + variable.getName());
	}

	public MessageSendStaticVariable(Variable variable, ClassDec classdec) {
		this.variable = variable;
		this.classDec = classdec;
	}

	public Type getType() {
		return variable.getType();
	}

	private Variable variable;
	private ClassDec classDec;

}